package com.general.seckill.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

@FeignClient("stock-service")
public interface StockServiceFeign {

    @PostMapping("/stock/decrease")
    Map<String, Object> decreaseStock();
}
